package edu.rakovic.elearning.interfaces;

import java.util.Random;

public interface Exam {
	
	public Exam executeExamCreation(User user, Course course, int mark);
	//generates random mark/grade
	public int generateRandomMark();
	
	public void setId(String id);
	public String getId();
	public Course getCourse();
	public void setCourse(Course course);
	public User getUser();
	public void setUser(User user);
	public int getGrade();
	public void setGrade(int grade);
	public boolean isPassed();
	public void setPassed(boolean passed);

}